using System;

namespace OffsetPath
{
    public class ClassAg
    {
        private const double a = 1000.0;
        private int b;
        public ClassAg.EnumA c = MethodA();
        private double d = 0.0001;
        private static ClassAg.EnumA e;

        public static ClassAg.EnumA MethodA()
        {
            return e;
        }

        public static void MethodA(ClassAg.EnumA enumA0)
        {
            e = enumA0;
        }

        public void MethodA(double A_0)
        {
            if (A_0 != 0.0)
            {
                this.d = Math.Abs(A_0);
            }
        }

        public static double MethodA(ClassAb A_0, bool A_1)
        {
            PuntoDueD puntoDueD = A_0.d();
            double num = Math.Abs(Math.Max(puntoDueD.X, puntoDueD.Y)) * ClassK.e;
            num *= 1000.0;
            if (num == 0.0)
            {
                num = 1000.0;
            }
            if (!A_1)
            {
                return num;
            }
            double num2 = 0.0001;
            while (num2 >= num)
            {
                num2 /= 10.0;
            }
            while (num2 < num)
            {
                num2 *= 10.0;
            }
            return num2;
        }

        public double MethodB()
        {
            return this.d;
        }

        public void MethodB(ClassAb A_0, bool A_1)
        {
            this.MethodA(MethodA(A_0, A_1));
        }

        public void MethodC()
        {
            this.b = 0;
        }

        public void MethodD()
        {
            this.b++;
        }

        public int MethodE()
        {
            return this.b;
        }

        public enum EnumA
        {
            a,
            b,
            c,
            d,
            e
        }
    }
}

